package org.jeecg.modules.api.xxApi.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.Valid;


@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "XxApiFpkjMainParam对象", description = "销项管理-发票开具参数")
public class XxApiFpkjMainParam {

    @ApiModelProperty(value = "异步标识 0同步 1异步")
    @NotBlank(message = "异步标识不能为空！")
    private String async;

    @ApiModelProperty(value = "开具结果回调地址")
    private String callBackUrl;

    @Valid
    @ApiModelProperty(value = "开具内容")
    private XxApiFpkjParam fpkj;

}
